package com.kaoshi.service;


import com.kaoshi.agency.domain.Qianyue;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "service-agency")
public interface Feignagency {

    @RequestMapping("/agency/qianyue/getByBh/{bh}")
    List<Qianyue> getByBh(@PathVariable Integer bh);

}
